import { get, post } from "@/utils/request";

/**
 * 天气
 */
export const getWeatherApi = (params: {location: string}) => get("/weather/api/v1/weather/manage", {params});

/**
 * 文件上传
 */
export const uploadFileApi = (params: any) => post("/api/v1/basic/upload-file", params, {headers: {"content-type": 'multipart/form-data'}});

